home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / Install / program files / Borland / BDS / 3.0 / Objrepos / DelphiDotNet / Page.aspx.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  2004-10-22  |  1.2 KB  |  57 lines

  1. [!outputon]
  2.  
  3. unit [!UnitName];
  4.  
  5. interface
  6.  
  7. uses
  8.   System.Collections, System.ComponentModel,
  9.   System.Data, System.Drawing, System.Web, System.Web.SessionState,
  10.   System.Web.UI, System.Web.UI.WebControls, System.Web.UI.HtmlControls;
  11.  
  12. type
  13.   T[!ClassName] = class(System.Web.UI.Page)
  14.   {$REGION 'Designer Managed Code'}
  15.   strict private
  16.     procedure InitializeComponent;
  17.   {$ENDREGION}
  18.   strict private
  19.     procedure Page_Load(sender: System.Object; e: System.EventArgs);
  20.   strict protected
  21.     procedure OnInit(e: EventArgs); override;
  22.   private
  23.     { Private Declarations }
  24.   public
  25.     { Public Declarations }
  26.   end;
  27.  
  28. implementation
  29.  
  30. {$REGION 'Designer Managed Code'}
  31. /// <summary>
  32. /// Required method for Designer support -- do not modify
  33. /// the contents of this method with the code editor.
  34. /// </summary>
  35. procedure T[!ClassName].InitializeComponent;
  36. begin    
  37.   Include(Self.Load, Self.Page_Load);
  38. end;
  39. {$ENDREGION}
  40.  
  41. procedure T[!ClassName].Page_Load(sender: System.Object; e: System.EventArgs);
  42. begin
  43.   // TODO: Put user code to initialize the page here
  44. end;
  45.  
  46. procedure T[!ClassName].OnInit(e: EventArgs);
  47. begin
  48.   //
  49.   // Required for Designer support
  50.   //
  51.   InitializeComponent;
  52.   inherited OnInit(e);
  53. end;
  54.  
  55. end.
  56.  
  57.